<?php


namespace App\Request\Im;


use Hyperf\Validation\Request\FormRequest;

class ImChatRequest extends FormRequest
{
    public function authorize():bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'receive_id' => 'required|integer',
            'receive_platform' => 'required',
            'user_id' => 'required'
        ];
    }

}